package cn.momoshenchi.product.feign;

import cn.momoshenchi.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/5/5 - 22:16
 */
@FeignClient("gulimail-ware")
public interface WareFeignService
{
    @PostMapping("/ware/waresku/hasStock")
    public R hasStock(@RequestBody List<Long>skuIds);
}
